﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace BallData
{
    public class OddsChangeItemBind : INotifyPropertyChanged
    {
        public String m_LeagueName;
        public String LeagueName
        {
            get
            {
                return this.m_LeagueName;
            }
            set
            {
                if (this.m_LeagueName != value)
                {
                    this.m_LeagueName = value;
                    OnPropertyChanged("LeagueName");
                }
            }
        }


        public String HostTeamName { get; set; }

        public String HostOdds { get; set; }

        public String Panlu { get; set; }

        public String VisitTeanName { get; set; }

        public String VisitOdds { get; set; }

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;

        private void OnPropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler handler = this.PropertyChanged;
            if (handler != null)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        #endregion

    }
}
